package com.app.bussinesslocator.bean;

import android.os.Parcel;
import android.os.Parcelable;

public class ObjOpenHours implements Parcelable{
	String thuNgay;
	String thoigianMocua;
	
	public ObjOpenHours(){
		
	}

	public String getThuNgay() {
		return thuNgay;
	}

	public void setThuNgay(String thuNgay) {
		this.thuNgay = thuNgay;
	}

	public String getThoigianMocua() {
		return thoigianMocua;
	}

	public void setThoigianMocua(String thoigianMocua) {
		this.thoigianMocua = thoigianMocua;
	}
	
	public ObjOpenHours(Parcel in){
		thuNgay = in.readString();
		thoigianMocua = in.readString();
	}
	
	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(thuNgay);
		dest.writeString(thoigianMocua);
	}
	
	public static final Parcelable.Creator<ObjOpenHours> CREATOR = new Parcelable.Creator<ObjOpenHours>() {
		public ObjOpenHours createFromParcel(Parcel in) {
			return new ObjOpenHours(in);
		}

		public ObjOpenHours[] newArray(int size) {
			return new ObjOpenHours[size];
		}
	};
	
}
